package org.skatiger.jrove.spring.tags.component;

import org.skatiger.jrove.component.JroveAttr;
import org.skatiger.jrove.component.UIComponent;

public class OutputBindErrors extends BindErrors {
    private static final String DEFAULT_SYTLE_CLASS = "output_bind_errors";
    private String styleClass;

    public String getStyleClass() {
        return getPropertyValue("styleClass", styleClass, DEFAULT_SYTLE_CLASS);
    }

    public void setStyleClass(String styleClass) {
        this.styleClass = styleClass;
    }

    public UIComponent getHeader() {
        return getFacet(JroveAttr.HEADER_FACET_NAME);
    }

    public UIComponent getFooter() {
        return getFacet(JroveAttr.FOOTER_FACET_NAME);
    }

}
